import Vue from 'vue'
import Router from 'vue-router'
import home from './components/home.vue'
import long from './components/long.vue'
import imag from './components/imag.vue'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'home',
      component: home,
     children:[
       {
         path:'/long',
         component:long
       },
       {
        path:'/imag',
        component:imag
      }
     ]
    }
   
  ]
})
